<template>
  <div>
    <y-editor></y-editor>
    <el-dialog title="提示" :visible.sync="visible" width="70%">
      <doc></doc>
      <span slot="footer" class="dialog-footer">
        <el-button @click="visible = false">关 闭</el-button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
import { yEditor } from 'y-designer'
import 'y-designer/dist/y-designer.css'
import doc from './doc.vue'
export default {
  name: 'y-design-index',
  components: {
    yEditor,
    doc
  },
  data () {
    return {
      visible: true
    }
  }
}
</script>
 
